package com.mc.read.dao.mapper.sys;

import com.mc.read.dao.models.sys.Syslog;
import com.mc.read.dao.models.sys.SyslogExample;
import com.mc.read.dao.vo.LogPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SyslogMapper {
    int countByExample(SyslogExample example);

    int deleteByExample(SyslogExample example);

    int deleteByPrimaryKey(Long logid);

    int insert(Syslog record);

    int insertSelective(Syslog record);

    List<Syslog> selectByExampleWithBLOBs(SyslogExample example);

    List<Syslog> selectByExample(SyslogExample example);

    Syslog selectByPrimaryKey(Long logid);

    int updateByExampleSelective(@Param("record") Syslog record, @Param("example") SyslogExample example);

    int updateByExampleWithBLOBs(@Param("record") Syslog record, @Param("example") SyslogExample example);

    int updateByExample(@Param("record") Syslog record, @Param("example") SyslogExample example);

    int updateByPrimaryKeySelective(Syslog record);

    int updateByPrimaryKeyWithBLOBs(Syslog record);

    int updateByPrimaryKey(Syslog record);


    List<Syslog> selectLogList(LogPageVo logPageVo);
}